Removed test() method

The resolves issue #338.