some more tests and fronted handling for backend validation