refactored Javelin.Component test