tests for investments