added test for status validation