port tests from original project