Changed testcode syntax to read a bit clearer