Play a bit with testing. Didn't find out  how to do a login when in bats, so pretty useless tests :/