First meaningful test
More tests + fixes