added test dir and tests