enhance spec tests for module platform support