Resolve pending implementation
Move test files to the new tests/ subdirectory