This test was only validating that "an" error occurred, but failed to check if the error was for the expected reason. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>