tests: add invalid value test