tests comply to code