Foreground class jasmine test