tests for @specs, fixes for @specs