functional tests

first functional tests, still more to i need to do/finish